""""""


"""购物车页面"""

from common.base import Base

url = "http://ecshop.itsoso.cn/goods.php?id=77"


class Shopping_cart_page(Base):
    """制作定位器"""

    check_out_loc = (
        "css selector", "body > div:nth-child(7) > div.flowBox > table > tbody > tr > td:nth-child(2) > a > img") #去结算按钮


    def click_check_out(self):
        """点击去结算按钮"""

        self.click(self.check_out_loc)